Author Topic: Discord protocol  (Read 1506 times)

0 Members and 1 Guest are viewing this topic.

Offline VulpixTopic starter

  • Beta Tester
  • *****
  • Posts: 516
  • Country: 00
  • Karma: 13
Re: Discord protocol
« Reply #15 on: 11 02 2017, 22:46:56 »
Nice!

My friend also edited his first post here so it should be easier to track:

https://github.com/miranda-ng/miranda-ng/issues/629
 

Offline ghazan

  • Miranda NG founder
  • Administrator
  • *****
  • Posts: 354
  • Country: ru
  • Karma: 34
  • Jabber ID
Re: Discord protocol
« Reply #16 on: 12 02 2017, 17:54:58 »
highlighting implemented

Group chat log is named after internal channel id (nnnnnnnnnnnnnnnnnnn.log) instead of group#channel.log.
@mnguser what did you mean by that? replacing the unformatted number with a channel nick?
 

Offline mnguser

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Discord protocol
« Reply #17 on: 13 02 2017, 18:06:30 »
For example the group chat log for IRC is named "#channel - Server.log" , while logs for discord channels are named by it's id instead of names. Is this intentional naming? I suppose, this is made so because group chat channel id is static and channel can be renamed without changing it's numeric id? Not a big deal then. I thought, that having discord group chat log named in the same manner as IRC log "#channel - Group.log" would look better. The difference is that IRC channel on the server name is unique and it's name won't ever change, while it's probably not the case with Discord.
 

Offline ghazan

  • Miranda NG founder
  • Administrator
  • *****
  • Posts: 354
  • Country: ru
  • Karma: 34
  • Jabber ID
Re: Discord protocol
« Reply #18 on: 13 02 2017, 20:15:46 »
roles in chats supported
 

Offline mnguser

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Discord protocol
« Reply #19 on: 17 02 2017, 23:18:17 »
Thanks! Name highlights seem to be working aswell. Very solid protocol plugin, as far as Miranda's limitations considered.
 

Offline VulpixTopic starter

  • Beta Tester
  • *****
  • Posts: 516
  • Country: 00
  • Karma: 13
Re: Discord protocol
« Reply #20 on: 26 02 2017, 14:47:36 »
Most major bugs fixed (no longer crashing on login).

History retrieved for chat logs as well! (Thanks ghazan!). I recommend enabling text logs for tabsrmm groupchats to take advantage of it the best, but it's fine without that as well.

Not much remains to be done, other than tagging users and sending files to groupchats.
 

Offline mistafist

  • Newbie
  • *
  • Posts: 10
  • Country: 00
  • Karma: 0
Re: Discord protocol
« Reply #21 on: 16 03 2017, 14:35:29 »
How's it going.  When I attempt to use this plugin, 32 bit, it connects then immediately disconnects.  Keepstatus reconnects, but same thing happens over and over.  Some information is received, for example a message will come through upon reconnection.  My log shows this right before disconnecting.

Code: [Select]
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 4, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 6, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 12, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 8, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] server required to exit
[10:31:46 2104] [Discord_1.Gateway] (05690648:2244) Connection closed internal
[10:31:46 2104] [Discord_1.Gateway] (05690648:4294967295) Connection closed
[10:31:46 2104] [Discord_1] CDiscordProto::ShutdownSession
[10:31:46 2104] [Discord_1] CDiscordProto::OnLoggedOut
[10:31:47 1624] [Discord_1] (0568EBF0:2188) Connection closed internal
[10:31:47 1624] [Discord_1] (0568EBF0:4294967295) Connection closed
[10:31:47 1624] [Discord_1] CDiscordProto::WorkerThread: leaving
 

Offline VulpixTopic starter

  • Beta Tester
  • *****
  • Posts: 516
  • Country: 00
  • Karma: 13
Re: Discord protocol
« Reply #22 on: 16 03 2017, 20:18:45 »
It's kinda akin to this:

https://github.com/miranda-ng/miranda-ng/issues/755

It just happens for some reason. Maybe Ghazan will look into it :)
 

Offline Targaff

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Discord protocol
« Reply #23 on: 03 05 2017, 23:33:47 »
I'm not especially familiar with the protocol so I'm not sure whether this is feasible, but is there any possibility of being able to select which channels to show in a guild?  For example, I joined a guild/server that has 45 text channels set up, all of which are listed, but I'm only interested in maybe 5 of them.  I was thinking something along the lines of contact menu item for the server that lists the chat rooms and you can choose them from the list.  Alternatively, how about an option to specify a group for Discord chat rooms *other* than the one specified by the messaging plugin?  That would make it easier to clean things up.

No problems with the plugin otherwise, it's great!  Thanks.