[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Irssi-xmpp-dev] (no subject)
> TODO before 0.20:
> - fix petteri's bug: sometimes (everytimes?) he doesn't see join
> messages on rooms (i'm not able to reproduce this bug but it's a
> serious one)
I'm not seeing join messages (except for my own) either. Here's how I
got it working. This assumes my own presence is broadcast only after
receiving presence from all of the room's original participants.
===================================================================
RCS file: /cvs/irssi-xmpp/irssi-xmpp/src/core/xmpp-channels.c,v
retrieving revision 1.25
diff -u -r1.25 xmpp-channels.c
--- xmpp-channels.c 5 Dec 2007 16:47:18 -0000 1.25
+++ xmpp-channels.c 13 Dec 2007 20:23:52 -0000
@@ -345,7 +345,10 @@
xmpp_nicklist_get_affiliation(affiliation),
xmpp_nicklist_get_role(role));
- if (channel->names_got || channel->ownnick == NICK(nick)) {
+ if (channel->ownnick == NICK(nick))
+ channel->names_got = TRUE;
+
+ if (channel->names_got) {
signal_emit("message join", 4, channel->server,
channel->name,
nick->nick, nick->host);
signal_emit("message xmpp channel mode", 4, channel,