Mercurial > pidgin
comparison src/away.c @ 4608:5fcb44d771d2
[gaim-migrate @ 4896]
just because an account signs off doesn't mean we can forget about it ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 24 Feb 2003 00:29:54 +0000 |
parents | 3196d9044a45 |
children | 42d53c416bb9 |
comparison
equal
deleted
inserted
replaced
4607:8742023570be | 4608:5fcb44d771d2 |
---|---|
72 struct queued_message *qm = templist->data; | 72 struct queued_message *qm = templist->data; |
73 if (templist->data) { | 73 if (templist->data) { |
74 if (!g_strcasecmp(qm->name, name)) { | 74 if (!g_strcasecmp(qm->name, name)) { |
75 struct gaim_account *account = NULL; | 75 struct gaim_account *account = NULL; |
76 | 76 |
77 if (g_slist_index(connections, qm->gc) >= 0) | 77 if (g_slist_index(gaim_accounts, qm->account) >= 0) |
78 account = qm->gc->account; | 78 account = qm->account; |
79 | 79 |
80 cnv = gaim_find_conversation(name); | 80 cnv = gaim_find_conversation(name); |
81 | 81 |
82 if (!cnv) | 82 if (!cnv) |
83 cnv = gaim_conversation_new(GAIM_CONV_IM, account, qm->name); | 83 cnv = gaim_conversation_new(GAIM_CONV_IM, account, qm->name); |
112 while (q) { | 112 while (q) { |
113 qm = q->data; | 113 qm = q->data; |
114 | 114 |
115 account = NULL; | 115 account = NULL; |
116 | 116 |
117 if (g_slist_index(connections, qm->gc) >= 0) | 117 if (g_slist_index(gaim_accounts, qm->account) >= 0) |
118 account = qm->gc->account; | 118 account = qm->account; |
119 | 119 |
120 cnv = gaim_find_conversation(qm->name); | 120 cnv = gaim_find_conversation(qm->name); |
121 | 121 |
122 if (!cnv) | 122 if (!cnv) |
123 cnv = gaim_conversation_new(GAIM_CONV_IM, account, qm->name); | 123 cnv = gaim_conversation_new(GAIM_CONV_IM, account, qm->name); |