Commit Graph

5 Commits

Author SHA1 Message Date
Luna 2632d033fa all: add GPL header 2018-12-07 02:14:58 -03:00
Luna Mendes ba253f6ce4 channel.reactions: add permission checks
- channel.reactions: add special case for when adding the first
    reaction in a message
2018-11-21 20:56:33 -03:00
Luna Mendes 46759a4e7c pylint pass
fixing unused imports across all code
2018-11-13 01:40:31 -03:00
Luna Mendes 0f7ffaf717 storage: add Storage.get_reactions
This finishes basic reaction code (both inserting and putting a reaction).

SQL for instances:
```sql
DROP TABLE message_reactions;
```

Then rerun `schema.sql`

 - channel.reactions: fix partial_emoji
 - schema.sql: add message_reactions.react_ts and unique constraint
    instead of primary key
2018-11-02 22:07:32 -03:00
Luna Mendes 2b1f9489b7 channel: add reactions blueprint
SQL for instances:
```sql
DROP TABLE message_reactions;
```
Then rerun `schema.sql`.
2018-11-02 18:29:07 -03:00