Avatar: clear the list of callbacks after completion + general code cleanup
Avatar: clear the list of callbacks after completion + general code cleanup

QMatrixClient/libqmatrixclient,Fxrh/libqmatrixclient,QMatrixClient/libqmatrixclient