mirror of https://github.com/zulip/zulip.git
address: Remove dead msg_type function.
This was never used; we instead use `.is_stream` and `.is_private` instead.
This commit is contained in:
parent
e4131fb708
commit
60cfc210ce
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue