Beispiel #1
0
        /*
         * REFRESH
         */

        public void Refresh(long threadId)
        {
            var lastMessage = DatabaseFactory.getMessageDatabase().GetConversationSnippet(threadId);
            Update(threadId, 0, lastMessage.Body, null, lastMessage.DateSent, lastMessage.Type);

            Messenger.Default.Send(new RefreshThreadMessage() { ThreadId = threadId });

        }
Beispiel #2
0
 public long DeleteConversation(long threadId)
 {
     DatabaseFactory.getMessageDatabase().DeleteThread(threadId);
     return(Delete(threadId));
 }