summaryrefslogtreecommitdiff
path: root/lib/lsg_matrix
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-04 13:42:56 +0200
committerhref <href@random.sh>2021-09-04 13:42:56 +0200
commitbd7d7bee96d5f0f0accfc2a9469ff34b3a333ba0 (patch)
treecc1a063c1feb9705a1aecceabc9754a80eae823b /lib/lsg_matrix
parentmatrix: fixes (diff)
hu
Diffstat (limited to 'lib/lsg_matrix')
-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) ->