summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.cpp
AgeCommit message (Collapse)Author
2018-04-22OnEvent(EV_PROTO_ONCONTACTDELETED) => PROTO_INTERFACE::OnContactDeletedGeorge Hazan
2018-04-21code cleaning:George Hazan
- in conformance to C++'11 rules, we don't declare a method as virtual if it's declared as override; - cause this code isn't visible in Pascal anymore, there's no need to use __cdecl calling convention for virtual methods; - since PROTO_INTERFACE is a regular C++ class, there's no need to use old style service declarations for virtual methods like OnModulesLoaded / OnShutdown
2018-04-19EV_PROTO_ONOPTIONS removed and replaced with the call of ↵George Hazan
CallObjectEventHook(pa->ppro, ME_OPT_INITIALIZE) this eliminates the possibility of making a mistake in hand-written code also fixes #1280 (Tox: "Confugure" menu item is broken)
2018-04-18g_hInstance incapulated into PLUGIN<>, no need in the separate variableGeorge Hazan
2018-04-13fixes #1262 ([Discord] Database migration causes duplication of discord ↵George Hazan
contacts)
2018-04-07Proto_GetStatus is used everywhere instead of PS_GETSTATUSGeorge Hazan
2018-03-28PFLAG_UNIQUEIDSETTING removed, its functionality transferred to ↵George Hazan
Proto_SetUniqueId / Proto_GetUniqueId
2018-03-23Clist_GroupCreate() to be called inside OnModulesLoaded, not inside the ↵George Hazan
protocol's constructor
2018-03-16entities' names to be started with capital lettersGeorge Hazan
2018-03-16always hated these long expressions: contact_iter makes them much shorterGeorge Hazan
2018-01-31useless wrappers removed & replaced with PROTO_INTERFACE method callsGeorge Hazan
2018-01-01massive copyright updatedartraiden
2017-12-29PROTO_INTERFACE::setAllContactStatuses - common code moved to the coreGeorge Hazan
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-28Source files converted to utf-8Kirill Volinsky
2017-10-16the whole idea of customizable colors in chat considered totally uselessGeorge Hazan
2017-09-27Discord: option to hide guild chats on startupGeorge Hazan
2017-09-25fixes #766 (Discord doesn't support metacontacts)George Hazan
2017-09-21Discord: two more fixed comparisonsGeorge Hazan
2017-09-21Discord: fix for guild sorting orderGeorge Hazan
2017-08-25useless condition removedGeorge Hazan
2017-08-25fixes #845 ([Discord] Adding a new contact causes "Only bots can use this ↵George Hazan
endpoint" error)
2017-06-05minor fixes for Discord protocolGeorge Hazan
2017-06-05Discord: attempt to fix problems with unauthorized http requestsGeorge Hazan
2017-02-22Discord:George Hazan
- support for channel creation & destruction on the fly - code cleaning
2017-02-22major rework of Discord:George Hazan
- CDiscordGuild - a class to utilize all guild-related activity; - all guild related code moved to the separate module; - fix for online guild channel creation; - version bump;
2017-02-22Discord: a rusty crutch to receive updates for sent messagesGeorge Hazan
2017-02-14Discord: sending typing notificationGeorge Hazan
2017-02-14we better turn off these track commands, because they are not documentedGeorge Hazan
2017-02-13Discord: displaying roles correctlyGeorge Hazan
2017-02-11fix for an error message textGeorge Hazan
2017-02-08no need in that blablablaGeorge Hazan
2017-02-07Discord: ability to join & leave guilds on the flyGeorge Hazan
2017-02-06- fix for a possible memory leak;George Hazan
- enhanced debug info
2017-02-06Discord: file transfer succeededGeorge Hazan
2017-02-04Discord: correct status mapping for ID_STATUS_AWAYGeorge Hazan
2017-02-03first attempt to implement file transfersGeorge Hazan
2017-01-31- NUF_HTTPGATEWAY: unused option removed;George Hazan
- NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning.
2017-01-24Discord: private messages in group chatsGeorge Hazan
2017-01-23automatic channel creation if user has noneGeorge Hazan
2017-01-20Discord: first version with groupchatsGeorge Hazan
2017-01-19Discord:George Hazan
- added support for channel addition & removal; - added support for reading message acks; - now Miranda reads the whole history, not only first 99 messages -
2017-01-18Discord:George Hazan
- fix for reading our own messages typed in another place; - version bump
2017-01-17Discord: auth supportGeorge Hazan
2017-01-16- added reaction to remote contact removal;George Hazan
- now we remove a channel & friendship on local contact removal
2017-01-11strong typization - better typizationGeorge Hazan
2017-01-11message acks: read confirmationsGeorge Hazan
2017-01-10account manager dialog for DiscordGeorge Hazan
2017-01-09we don't need that hook anymoreGeorge Hazan