torhve / weechat-matrix-protocol-script

A WeeChat script in Lua that implements the matrix.org chat protocol
349 stars 52 forks source link

Log tag for messages #142

Open nheir opened 5 years ago

nheir commented 5 years ago

According to https://weechat.org/files/doc/stable/weechat_user.en.html#logger_commands

Log levels used by IRC plugin:
  1: user message (channel and private), notice (server and channel)
  2: nick change
  3: server message
  4: join/part/quit
  9: all other messages

the room messages should/could have tag 'log1' to be handled the same way than irc messages

I'm using weechat-android that relies on this information to filter join/quit/server messages (etc). So I'm not sure if this is a weechat-android issue or weechat-matrix-protocol-script issue since everything is fine in glowing-bear.

Anyway, thx for this nice plugin