wbowling / adium

fork of adium

Fork of Adium for patches/improvements

Clone this repository (size: 220.3 MB): HTTPS / SSH
$ hg clone http://hg.wbowling.info/adium
commit 2814: bfdbbb6fd385
parent 2813: f7650158eeb5
branch: default
Display the unsent message that is passed from libpurple instead of ignoring it. Fixes #13190.
William Bowling / wbowling
9 months ago

Changed (Δ262 bytes):

Up to file-list Plugins/Purple Service/adiumPurpleConversation.m:

@@ -225,6 +225,15 @@ static void adiumPurpleConvWriteConv(Pur
225
225
		}
226
226
		
227
227
		AILog(@"*** Conversation error %@: %@", chat, messageString);
228
		
229
	} else if (flags & PURPLE_MESSAGE_RAW)
230
	{
231
		[adium.contentController performSelector:@selector(displayEvent:ofType:inChat:)
232
									  withObject:messageString
233
									  withObject:@"libpurpleMessage"
234
									  withObject:chat
235
									  afterDelay:0];
236
		
228
237
	} else {
229
238
		BOOL				shouldDisplayMessage = TRUE;
230
239
		if (strcmp(message, _("Direct IM established")) == 0) {