Skip to content

Commit 77a8c46

Browse files
authored
Bugfix: show users in sidebar (#217)
1 parent e96fbff commit 77a8c46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

slackviewer/templates/viewer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h3 id="group-title">Private Channels</h3>
3535
{% endfor %}
3636
</ul>
3737
{% endif %}
38-
{% if dms %}
38+
{% if dm_users %}
3939
<h3 id="dm-title">Direct Messages</h3>
4040
<ul class="list" id="dms-list">
4141
{% for dm in dm_users %}
@@ -48,7 +48,7 @@ <h3 id="dm-title">Direct Messages</h3>
4848
{% endfor %}
4949
</ul>
5050
{% endif %}
51-
{% if mpims %}
51+
{% if mpim_users %}
5252
<h3 id="mpim-title">Group Direct Messages</h3>
5353
<ul class="list" id="mpims-list">
5454
{% for mpim in mpim_users %}

0 commit comments

Comments
 (0)