From 60cfc210ce2eb7f0ab2091ea50019851c1d70fe0 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 13 May 2018 17:47:21 -0700 Subject: [PATCH] address: Remove dead msg_type function. This was never used; we instead use `.is_stream` and `.is_private` instead. --- zerver/lib/addressee.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/zerver/lib/addressee.py b/zerver/lib/addressee.py index 5f79226c4a..850721f95d 100644 --- a/zerver/lib/addressee.py +++ b/zerver/lib/addressee.py @@ -50,9 +50,6 @@ class Addressee: self._stream_name = stream_name self._topic = topic - def msg_type(self) -> str: - return self._msg_type - def is_stream(self) -> bool: return self._msg_type == 'stream'