-
-
libpurple/purpleconversationmanager.c (Diff revision 1) You might want to put
if(func == NULL) return NULL;
outside thewhile
loop and remove the check from inside it. -
libpurple/purpleconversationmanager.c (Diff revision 1) If
account
andconversation
are bothNULL
,func
is called withNULL
as its first argument.I would check if
account
is non-NULL
before thewhile
loop and return early if it is.
Fix purple_conversation_manager_find_chat_by_id.
Review Request #1495 — Created June 6, 2022 and submitted
Information | |
---|---|
grim | |
pidgin/pidgin | |
default | |
Reviewers | |
pidgin | |
belgin, ivanhoe |
purple_conversation_manager_find_chat_by_id was calling purple_conversation_manager_find_internal with a name of NULL. However, purple_conversation_manager_find_internal was always requring the conversation name to matched what was passed in. Therefore purple_conversation_manager_find_chat_by_id never actually worked.
Connected an IRC account and successfully sent a message.

Change Summary:
rebase and address issues.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+32 -12) |