Closed rsre closed 2 months ago
you can already do that with the name patterns blovk in your config.yaml
In other bridges when you import the users from other chat service a string is attached to their names to show where they come from. For example, if I talk to Sorunome from Instagram it would show as "Sorunome (Instagram)".
Would it be possible to add this feature?
I'm not very familiar with Typescript or your library, but I've been looking at the source and maybe it could be added at line 67 of instagram.ts, something like: name: user.name + ' (Instagram)',
If you can confirm that makes sense I can create a Pull Request.
Have a nice day :)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub[https://github.com/Sorunome/mx-puppet-instagram/issues/25], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AASSEVAV2WBA2CFFKCBAHR3S7BA5XANCNFSM4XTUNPZA]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAArSURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAA+DFFIAAEctgHwAAAAAElFTkSuQmCC###24x24:true###][Sledovací obrázek][https://github.com/notifications/beacon/AASSEVGNCRGTWUC7CJYKCZDS7BA5XA5CNFSM4XTUNPZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MBJ6PDA.gif]
I've tried to edit this part like this:
namePatterns: user: :name + ' (Instagram)' userOverride: :name + ' (Instagram)' room: :name group: :name
but it doesn't seem to have the effect I'm hoping for... Can you point me to some further documentation about how to properly configure this?
In other bridges when you import the users from other chat service a string is attached to their names to show where they come from. For example, if I talk to Sorunome from Instagram it would show as "Sorunome (Instagram)".
Would it be possible to add this feature?
I'm not very familiar with Typescript or your library, but I've been looking at the source and maybe it could be added at line 67 of instagram.ts, something like:
name: user.name + ' (Instagram)',
If you can confirm that makes sense I can create a Pull Request.
Have a nice day :)