zulip/python-zulip-api

issue with mute_topic endpoint

mkp6781 opened this issue · 3 comments

I made a call to the endpoint with a non-existent topic and it returned a 'success' response.
Further if I make calls with this same topic, depending on whether the operation specified is add/remove I get the following responses.
"add" : {'result': 'error', 'msg': 'Topic already muted'}
"remove" : {'result': 'error', 'msg': 'Topic is not muted'}

@zulipbot add "good first issue"

@mkp6781 can you explain in more detail what you were trying to do?

I don't think this is a bug -- in Zulip, there is no concept of a "non-existent topic" -- topics are just a field on Message objects. And muting adjusts the behavior of messages with that string in their topic field.