summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/metacontacts/meta_menu.cpp')
-rw-r--r--src/modules/metacontacts/meta_menu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp
index 108c4d8445..f2b1822e6d 100644
--- a/src/modules/metacontacts/meta_menu.cpp
+++ b/src/modules/metacontacts/meta_menu.cpp
@@ -112,6 +112,9 @@ void Meta_RemoveContactNumber(DBCachedContact *ccMeta, int number, bool bUpdateI
// remove the last one
int id = ccMeta->nSubs - 1;
char buffer[512];
+ mir_snprintf(buffer, SIZEOF(buffer), "Handle%d", id);
+ db_unset(ccMeta->contactID, META_PROTO, buffer);
+
mir_snprintf(buffer, SIZEOF(buffer), "Protocol%d", id);
db_unset(ccMeta->contactID, META_PROTO, buffer);