added foreign reaction capabilties (chuckya)
This commit is contained in:
parent
a9fdd913f3
commit
7f993ee538
3 changed files with 31 additions and 20 deletions
|
@ -16,8 +16,9 @@ const server_types = {
|
|||
};
|
||||
|
||||
export const capabilities = {
|
||||
MARKDOWN_CONTENT: "mdcontent",
|
||||
MARKDOWN_CONTENT: "markdown_content",
|
||||
REACTIONS: "reactions",
|
||||
FOREIGN_REACTIONS: "foreign_reactions",
|
||||
};
|
||||
|
||||
// if server is falsy, assume user has not begun the login process.
|
||||
|
@ -118,6 +119,7 @@ function getCapabilities(type) {
|
|||
break;
|
||||
case server_types.CHUCKYA:
|
||||
c.push(capabilities.REACTIONS);
|
||||
c.push(capabilities.FOREIGN_REACTIONS);
|
||||
break;
|
||||
case server_types.FIREFISH:
|
||||
c.push(capabilities.REACTIONS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue