aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-21 15:58:30 +0200
committerdec05eba <dec05eba@protonmail.com>2018-10-21 15:58:34 +0200
commitade9cb1f847e1c0edc22a08ad2950454fe2b566b (patch)
tree32f3497293d3edcce8306246973e000fd5a263f9 /include
parent6d00a0dd54d7ac563574a583929c2e99a17a6ae7 (diff)
Remove old discord code, update for odhtdb changes
Diffstat (limited to 'include')
-rw-r--r--include/Channel.hpp3
1 files changed, 0 insertions, 3 deletions
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);