Add TGS_EVENT_INSTANCE_RENAMED to DMAPI

This commit is contained in:
Jordan Brown
2020-04-27 20:39:43 -04:00
parent 2ee6277bfd
commit 8849b1f5ad
2 changed files with 7 additions and 3 deletions
+3
View File
@@ -178,6 +178,9 @@
if(!istext(new_instance_name))
return TopicResponse("Invalid or missing [DMAPI5_TOPIC_PARAMETER_NEW_INSTANCE_NAME]!")
if(event_handler != null)
event_handler.HandleEvent(TGS_EVENT_INSTANCE_RENAMED, new_instance_name)
instance_name = new_instance_name
return TopicResponse()
if(DMAPI5_TOPIC_COMMAND_CHAT_CHANNELS_UPDATE)