Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Khlystov committed Mar 16, 2011
1 parent 15d0d26 commit 2b80710
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/juick.c
Expand Up @@ -720,7 +720,8 @@ send_link(PurpleConversation *conv, const gchar *send, const gchar *body,
gchar *s = NULL, *s1, *text = NULL;

purple_debug_info(DBGID, "%s %s\n", __FUNCTION__, name);
if (name && !g_str_has_prefix(name, JUICK_JID))
if (name && !g_str_has_prefix(name, JUICK_JID) &&
!g_str_has_prefix(name, JUBO_JID))
is_insert_only = TRUE;

text = g_strconcat(body, " ", NULL);
Expand Down Expand Up @@ -871,13 +872,10 @@ juick_uri_handler(const char *proto, const char *cmd, GHashTable *params)
body = g_hash_table_lookup(params, "body");
reply = g_hash_table_lookup(params, "reply");
send = g_hash_table_lookup(params, "send");
purple_debug_info(DBGID, "%s\n", "asdf");
get_active_account_and_name(&account, &name);
purple_debug_info(DBGID, "%s\n", "asdf1");
if (body && account && name) {
conv = conversation_new_with_model(account, name,
mblog_store);
purple_debug_info(DBGID, "%s\n", "asdf2");
if (conv) {
if (purple_prefs_get_bool(PREF_IS_SHOW_JUICK))
// don't work in pidgin 2.4, 2.5
Expand Down

0 comments on commit 2b80710

Please sign in to comment.