| 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 |