libpurple/conversationtypes.c

branch
soc.2013.gobjectification.plugins
changeset 37016
48f85579cc4c
parent 36999
ddb4169bacc5
parent 35265
77664079d0f0
child 37070
774b0a0593f0
equal deleted inserted replaced
37015:28ee14bbe0ab 37016:48f85579cc4c
806 806
807 /* Don't display this if the person who wrote it is ignored. */ 807 /* Don't display this if the person who wrote it is ignored. */
808 if (purple_chat_conversation_is_ignored_user(PURPLE_CHAT_CONVERSATION(conv), who)) 808 if (purple_chat_conversation_is_ignored_user(PURPLE_CHAT_CONVERSATION(conv), who))
809 return; 809 return;
810 810
811 if (mtime < 0) {
812 purple_debug_error("conversation",
813 "purple_conv_chat_write ignoring negative timestamp\n");
814 /* TODO: Would be more appropriate to use a value that indicates
815 that the timestamp is unknown, and surface that in the UI. */
816 mtime = time(NULL);
817 }
818
811 if (!(flags & PURPLE_MESSAGE_WHISPER)) { 819 if (!(flags & PURPLE_MESSAGE_WHISPER)) {
812 const char *str; 820 const char *str;
813 821
814 str = purple_normalize(account, who); 822 str = purple_normalize(account, who);
815 823

mercurial