mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
6a44e18853
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
16 lines
220 B
C
16 lines
220 B
C
#include <stdio.h>
|
|
#include <glib.h>
|
|
#include <stdlib.h>
|
|
|
|
void avatar_pep_subscribe(void){};
|
|
gboolean
|
|
avatar_get_by_nick(const char* nick)
|
|
{
|
|
return TRUE;
|
|
}
|
|
gboolean
|
|
avatar_set(const char* path)
|
|
{
|
|
return FALSE;
|
|
}
|