diff options
author | eionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b> | 2014-06-05 13:57:08 +0400 |
---|---|---|
committer | eionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b> | 2014-06-05 13:57:08 +0400 |
commit | 55d4f8e048234e23676399d086f7da3ea6efab06 (patch) | |
tree | 5f861c62c4093fef247b651d67f1a1d339950b8f | |
parent | 46483b4579dda843ad5fe8b76b7c31d4f6729ae9 (diff) |
Fix for issue #74 - when renaming a group in pidgin don't allow libpurple to do it's default delete+add behaviour by providing a dummy func
-rw-r--r-- | steam-mobile/libsteam.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c index 5c6253d..7b4a750 100644 --- a/steam-mobile/libsteam.c +++ b/steam-mobile/libsteam.c @@ -1343,6 +1343,11 @@ steam_fake_group_buddy(PurpleConnection *pc, const char *who, const char *old_gr {
// Do nothing to stop the remove+add behaviour
}
+void
+steam_fake_group_rename(PurpleConnection *pc, const char *old_name, PurpleGroup *group, GList *moved_buddies)
+{
+ // Do nothing to stop the remove+add behaviour
+}
void
#if PURPLE_VERSION_CHECK(3, 0, 0)
@@ -1616,7 +1621,7 @@ static PurplePluginProtocolInfo prpl_info = { #endif
NULL, /* alias_buddy */
steam_fake_group_buddy, /* group_buddy */
- NULL,//steam_group_rename, /* rename_group */
+ steam_fake_group_rename, /* rename_group */
steam_buddy_free, /* buddy_free */
NULL,//steam_conversation_closed, /* convo_closed */
purple_normalize_nocase,/* normalize */
|