Skip to content

Commit 191d2ae

Browse files
committed
refactor: Lint - Type consistency (mypy).
1 parent ddd2308 commit 191d2ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

zulipterminal/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def narrow_to_user(
645645
) -> None:
646646
self._narrow_to(
647647
anchor=contextual_message_id,
648-
dm_with=", ".join(recipient_emails),
648+
pm_with=", ".join(recipient_emails),
649649
)
650650

651651
def narrow_to_all_messages(

zulipterminal/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ def next_unread_topic_from_message_id(
10241024
return None
10251025

10261026
def get_next_unread_pm(self) -> Optional[int]:
1027-
pms = list(self.unread_counts["unread_pms"].keys())
1027+
pms = list(self.unread_counts["unread_dms"].keys())
10281028
next_pm = False
10291029
for pm in pms:
10301030
if next_pm is True:

0 commit comments

Comments
 (0)