diff options
Diffstat (limited to 'protocols/jabber')
| -rw-r--r-- | protocols/jabber/Makefile | 8 | ||||
| -rw-r--r-- | protocols/jabber/jabber.c | 14 | 
2 files changed, 7 insertions, 15 deletions
| diff --git a/protocols/jabber/Makefile b/protocols/jabber/Makefile index df326fe6..9b414dc8 100644 --- a/protocols/jabber/Makefile +++ b/protocols/jabber/Makefile @@ -15,7 +15,7 @@ CFLAGS += -Wall  LFLAGS += -r  # [SH] Phony targets -all: jabberr.o +all: jabber_mod.o  .PHONY: all clean distclean @@ -32,6 +32,6 @@ $(objects): %.o: %.c  	@echo '*' Compiling $<  	@$(CC) -c $(CFLAGS) $< -o $@ -jabberr.o: $(objects) -	@echo '*' Linking jabberr.o -	@$(LD) $(LFLAGS) $(objects) -o jabberr.o +jabber_mod.o: $(objects) +	@echo '*' Linking jabber_mod.o +	@$(LD) $(LFLAGS) $(objects) -o jabber_mod.o diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index fc419124..d4b5bde5 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -1248,14 +1248,10 @@ static void jabber_handleauthresp(gjconn gjc, jpacket p)  			}  			gjab_auth(gjc);  		} else { +			gjab_reqroster(gjc);  			account_online(GJ_GC(gjc)); - -			if (bud_list_cache_exists(GJ_GC(gjc))) -				do_import(GJ_GC(gjc), NULL); - +			  			((struct jabber_data *)GJ_GC(gjc)->proto_data)->did_import = TRUE; - -			gjab_reqroster(gjc);  		}  	} else {  		xmlnode xerr; @@ -1859,11 +1855,7 @@ static void jabber_set_away(struct gaim_connection *gc, char *state, char *messa  			y = xmlnode_insert_tag(x, "show");  			xmlnode_insert_cdata(y, "away", -1);  			y = xmlnode_insert_tag(x, "status"); -			{ -				char *utf8 = str_to_utf8(message); -				xmlnode_insert_cdata(y, utf8, -1); -				g_free(utf8); -			} +			xmlnode_insert_cdata(y, message, -1);  			gc->away = "";  		} else {  			/* Gaim wants us to not be away */ | 
