Closed Porkepix closed 1 month ago
duplicate of #64
@kfiven Then would you want most of the message to be replicated in the other issue/another issue in Cinny app repo?
Because here I was also pointing on a seemingly unused variable, and to placed where it'd make sense to have it used.
(Note though that I'm absolutely not familiar of JS and its families codebases).
I don't think there's a need to mention as the issue is already linked in that issue now.
Yes but I mean, the possible unused variables and placed it could be used belongs to the other repo, if that was worth something, right?
IMO it's not worth filling issue for that, when somebody (hopefully) will try to fix this issue, they will have to play with that code anyways and as it is now, it's not causing any issues.
Describe the problem
Currently, Cinny desktop identify itself as "Cinny Web" by default in the list of Matrix sessions.
Describe the solution you'd like
Showing as "Cinny desktop" by default would be less confusing (it could even include OS and/or a unique ID).
Alternatives considered
None, it's just an improvement over the current situation.
Additional context
I thought there may have been some variables that could be used for that purpose, but only found https://github.com/cinnyapp/cinny-desktop/blob/main/config.json which seems identical to the one at https://github.com/cinnyapp/cinny/blob/dev/config.json so it wasn't the way.
Searching through the repo with "Cinny Web" though I could find from the main repo these results:
Which led me to search for
DEVICE_DISPLAY_NAME
found only atThis seems declared but never used.
On the other hand, looking for
initial_device_display_name
found many matches where this is set manually everytime:So I was wondering if
DEVICE_DISPLAY_NAME
already set shouldn't be used instead of redeclaring this everytime? And if there would be a way to declare that variable for the Desktop application so that it's passed at cinyapp during build and use something else?