Hi everyone,
I’m currently working with OnlyOffice callbacks and facing the following issue:
I frequently need to fetch the current users. Every time I do this, the callback is triggered. Unfortunately, I cannot reliably tell within the callback where it was triggered from — specifically, whether it came from a CommandsService or not.
My current solution is to check if Actions is null in the callback. So far, this works quite well: whenever Actions is null, it usually indicates a callback from the CommandsService. However, there are sometimes callbacks with Actions = nullthat are simply irrelevant.
My question: is there a cleaner way to detect within the callback if a CommandsService was actually executed?
Thanks in advance for any help or tips!