/avatar set
Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687
This reverts commit 9b55f2dec0. Sorting the includes creates some problems.
9b55f2dec0
Regards https://github.com/profanity-im/profanity/issues/1396