Hugo Thunnissen
33eb18e687
Refactor code to log to file in stead of stdout
4 years ago
Hugo Thunnissen
b3c28880b0
Remove whappdc- prefix from package directory names
4 years ago
Hugo Thunnissen
e5300cdfb9
Make verified groups optional
...
DC verified groups stopped working for a while, so it seemed like a good idea to make the
use of this feature optional. A new (boolean) config value called verified_groups has been
added.
4 years ago
Hugo Thunnissen
dfd428d3a7
Make ChatWorker stop-able and make sure it gets stopped
5 years ago
Hugo Thunnissen
8eeb6db586
Remove unnecessary assignment
5 years ago
Hugo Thunnissen
115d669497
Remove comment with invalid information
5 years ago
Hugo Thunnissen
c63932686a
Mark media messages as sent when a 404 is returned while downloading
5 years ago
Hugo Thunnissen
e14614da9e
Make whappdc package more self-contained
...
It's better to have whapp -> DC direction bridge code separate in the whappdc package.
Moved MessageTracker + some BridgeContext methods and made WhappHandler
start-and-stoppable.
5 years ago
Hugo Thunnissen
e392242c79
Move most of the initialization steps from main.go to packages
...
Because it:
- Declutters main.go
- Makes code reusable
5 years ago
Hugo Thunnissen
8e71243dab
Add TODO comment to contact message action
5 years ago
Hugo Thunnissen
4099c93203
Actually fix nil pointer dereference
...
Oops, I was completely wrong and had caused the nil pointer dereference myself.
5 years ago
Hugo Thunnissen
17aa5cc836
Handle nil pointer dereference panic from err.Error() method call.
5 years ago
Hugo Thunnissen
c2ed7f9ef3
Rename whapp-handler.go -> whapp_handler.go
5 years ago
Hugo Thunnissen
0666879edb
Restructure project into multiple packages
5 years ago