aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/entity_info.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-09-03 22:52:07 +0200
committerfiaxh <git@lightrise.org>2020-09-07 15:21:42 +0200
commit2d31d9d4706d6fea870f9081a1451448f032473d (patch)
tree53a1f75def66bcb38076bd47c45a48992f850cf9 /libdino/src/service/entity_info.vala
parent49bcbdaa517e5d6f8d4860db70ae0a9960e2c519 (diff)
downloaddino-2d31d9d4706d6fea870f9081a1451448f032473d.tar.gz
dino-2d31d9d4706d6fea870f9081a1451448f032473d.zip
Cleanup
Diffstat (limited to 'libdino/src/service/entity_info.vala')
-rw-r--r--libdino/src/service/entity_info.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdino/src/service/entity_info.vala b/libdino/src/service/entity_info.vala
index 7a78b154..7eed2583 100644
--- a/libdino/src/service/entity_info.vala
+++ b/libdino/src/service/entity_info.vala
@@ -97,7 +97,8 @@ public class EntityInfo : StreamInteractionModule, Object {
string? caps_hash = EntityCapabilities.get_caps_hash(presence);
if (caps_hash == null) return;
- /*db.entity.upsert()
+ /* TODO check might_be_groupchat before storing
+ db.entity.upsert()
.value(db.entity.account_id, account.id, true)
.value(db.entity.jid_id, db.get_jid_id(presence.from), true)
.value(db.entity.resource, presence.from.resourcepart, true)