Skip to content

Service talkspirit needs code to update notification badges #623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tplobo opened this issue Mar 11, 2025 · 2 comments
Open

Service talkspirit needs code to update notification badges #623

tplobo opened this issue Mar 11, 2025 · 2 comments

Comments

@tplobo
Copy link
Contributor

tplobo commented Mar 11, 2025

I have implemented the recipe for the talkspirit service (#614), but I am not versed in Java to set badges for notifications:

module.exports = Ferdium => {
  // TODO: If your talkspirit service has unread messages, uncomment these lines to implement the logic for updating the badges
  // const getMessages = () => {
   //   // TODO: Insert your notification-finding code here
   //   Ferdium.setBadge(0, 0);
   // };
   // Ferdium.loop(getMessages);

Support in this would be appreciated.

@SpecialAro
Copy link
Member

Hi @tplobo!

I could help with this issue but I don't have access to a TalkSpirit instance to implement this feature. I could try to guide you through the steps but it can be challenging depending on how the service is coded and your developer skills.

An alternative would be to provide me with access to some credentials/server (ping me on discord for this) for me to test and implement this.

Let me know what best suits you!

@tplobo
Copy link
Contributor Author

tplobo commented Mar 12, 2025

Hey man, how are you doing? Thanks for the message!

I unfortunately don't think it is possible to provide you with guest access to TalkSpirit, because my own work account is a guest one. I will try to ask if we can provide a guest account for you without access to server docs, but in any case could you try to direct me towards some info or template on how to implement the notification badges? I have sent you a hi on Discord.

Thanks in advance,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants