fix Filter is nil error after re-login

This commit is contained in:
Roman Volosovskyi 2019-02-05 09:37:11 +02:00
parent bf51592496
commit ce28f6df66
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@
account A messages without this."
[{:keys [db]} callback]
(let [{:transport/keys [filters]} db]
{:shh/remove-filters {:filter (mapcat (fn [[chat-id chat-filters]]
{:shh/remove-filters {:filters (mapcat (fn [[chat-id chat-filters]]
(map (fn [filter]
[chat-id filter])
chat-filters))