From ade9cb1f847e1c0edc22a08ad2950454fe2b566b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 21 Oct 2018 15:58:30 +0200 Subject: Remove old discord code, update for odhtdb changes --- include/Channel.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/Channel.hpp b/include/Channel.hpp index 443a722..58bbcc3 100644 --- a/include/Channel.hpp +++ b/include/Channel.hpp @@ -28,8 +28,6 @@ namespace dchat NICKNAME_CHANGE, CHANGE_AVATAR, CHANGE_CHANNEL_NAME, - - ADD_DISCORD_MESSAGE }; class Channel @@ -56,7 +54,6 @@ namespace dchat void addLocalDiscordMessage(const std::string &discordUserName, u64 discordUserId, const std::string &msg, User *owner, u64 timestampSeconds, const odhtdb::Hash &id); void addSystemMessage(const std::string &msg, bool plainText = true); void addMessage(const std::string &msg); - void addDiscordMessage(const std::string &discordUserName, u64 discordUserId, const std::string &msg); void deleteLocalMessage(const odhtdb::Hash &id, const odhtdb::Signature::PublicKey &requestedByUser); void deleteMessage(const odhtdb::Hash &id, const odhtdb::Signature::PublicKey &requestedByUser); -- cgit v1.2.3