Page MenuHomePhabricator

[lib] Handle new id schema for default avatars
ClosedPublic

Authored by michal on Jul 13 2023, 2:42 AM.
Tags
None
Referenced Files
F2196969: D8491.id28665.diff
Fri, Jul 5, 1:58 PM
F2196664: D8491.id28664.diff
Fri, Jul 5, 1:15 PM
F2196605: D8491.id28733.diff
Fri, Jul 5, 1:07 PM
F2191421: D8491.id28664.diff
Thu, Jul 4, 3:32 PM
Unknown Object (File)
Wed, Jul 3, 4:14 AM
Unknown Object (File)
Tue, Jun 18, 12:28 PM
Unknown Object (File)
Thu, Jun 13, 11:48 PM
Unknown Object (File)
Wed, Jun 12, 2:38 AM
Subscribers

Details

Summary

After id schema conversion, the hash of threadID changes, which means the default emoji avatars change. This diff fixes that by detecting if the id is from ashoat's keyserver and if yes treating it as the old schema (hashing only the part after '|').

Test Plan

Log the values, and check if the prefix is correctly removed. Check if genesis default emoji matches the prod one.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable