Expose if the room has a custom avatar#9423
Conversation
SystemKeeper
left a comment
There was a problem hiding this comment.
Tested and works besides small remarks
#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
#9423 (comment) #9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
|
what happens if an emoji is set (as implemented in #9424 )? for the android talk app, it would be great if it's true for this case |
|
We will need to do changes after merge this or #9424 but we can set @nickvergessen I think that will be best to merge your PR first and after this I will rebase this PR and implement the necessary to solve the @mahibi point. |
We agreed to not do this ;) |
* Added the header X-NC-IsCustomAvatar * Return every time a non empty string as avatarVersion Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
…tomAvatar With the header isn't possible to check if `isCustomAvatar` without retrieve the avatar to verify the header. Because this, isCUstomAvatar was moved to a conversation property. Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
#9423 (comment) #9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
6e34509 to
0ce2366
Compare
|
Rebased to solve conflicts. |
Didn't make sense to return true because this property is only used to display the trash icon to remove the customized avatar. Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
15c8bf3 to
6659f1b
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
I prefered to put a placeholder at URL from step to make splicit that the URL have a version at the place of placeholder. Signed-off-by: Vitor Mattos <vitor@php.rio>
nextcloud#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
nextcloud#9423 (comment) nextcloud#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
nextcloud#9423 (comment) nextcloud#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
nextcloud#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
nextcloud#9423 (comment) Signed-off-by: Vitor Mattos <vitor@php.rio>
Fixes to be able identify if have a custom avatar
isCustomAvatarto conversation objectavatarVersion☑️ Resolves
🏁 Checklist
docs/has been updated or is not required