aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/message_storage.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-08-27 14:57:02 +0200
committerfiaxh <git@mx.ax.lt>2018-08-31 16:26:23 +0200
commit0e41fb3294271fc271ac8d24c1871fbea27e2ba4 (patch)
treed30716ccb4f930e6d57b6ac878eb4deb2f988d90 /libdino/src/service/message_storage.vala
parentecb18afdb51b3230ea451a27a5b345cf5100f02e (diff)
downloaddino-0e41fb3294271fc271ac8d24c1871fbea27e2ba4.tar.gz
dino-0e41fb3294271fc271ac8d24c1871fbea27e2ba4.zip
Add `hidden` column to content_item table
Diffstat (limited to 'libdino/src/service/message_storage.vala')
-rw-r--r--libdino/src/service/message_storage.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdino/src/service/message_storage.vala b/libdino/src/service/message_storage.vala
index 50fc94b3..9c077109 100644
--- a/libdino/src/service/message_storage.vala
+++ b/libdino/src/service/message_storage.vala
@@ -28,6 +28,7 @@ public class MessageStorage : StreamInteractionModule, Object {
message.persist(db);
init_conversation(conversation);
messages[conversation].add(message);
+ stream_interactor.get_module(ContentItemStore.IDENTITY).insert_message(message, conversation);
}
public Gee.List<Message> get_messages(Conversation conversation, int count = 50) {