diff options
author | href <href@random.sh> | 2021-09-04 13:42:56 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-04 13:42:56 +0200 |
commit | bd7d7bee96d5f0f0accfc2a9469ff34b3a333ba0 (patch) | |
tree | cc1a063c1feb9705a1aecceabc9754a80eae823b /lib/lsg_matrix | |
parent | matrix: fixes (diff) |
hu
Diffstat (limited to 'lib/lsg_matrix')
-rw-r--r-- | lib/lsg_matrix/room.ex | 1 |
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) -> |