private Message BuildMessage(CampfireMessage message)
 {
     return new Message
     {
         Channel = "Campfire",
         RoomId = message.room_id,
         UserId = message.user_id,
         Content = message.body ?? string.Empty,
         Type = message.type
     };
 }
Beispiel #2
0
 private Message BuildMessage(CampfireMessage message)
 {
     return(new Message
     {
         Channel = "Campfire",
         RoomId = message.room_id,
         UserId = message.user_id,
         Content = message.body ?? string.Empty,
         Type = message.type
     });
 }