Hm... that also works across different chars on different accounts, so yeay
.
I think the problem is/was, that my program was joining the channel too early in the loading process (immediately instead of after entering the world). With that change, it now works in my bigger addon, as well.
Thank you!