summaryrefslogtreecommitdiff
path: root/lib/lsg_matrix/room.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_matrix/room.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lsg_matrix/room.ex b/lib/lsg_matrix/room.ex
index e3ddd1d..72b02c4 100644
--- a/lib/lsg_matrix/room.ex
+++ b/lib/lsg_matrix/room.ex
@@ -98,6 +98,7 @@ defmodule LSG.Matrix.Room do
for m <- members, do: IRC.UserTrack.joined(state.id, %{network: "matrix", nick: m, user: m, host: "matrix."}, [], true)
accounts = IRC.UserTrack.channel(state.network, state.channel)
+ |> Enum.filter(& &1)
|> Enum.map(fn(tuple) -> IRC.UserTrack.User.from_tuple(tuple).account end)
|> Enum.uniq()
|> Enum.each(fn(account_id) ->