Files
new-phone-who-dis/phone/src/apps/settings/utils/getRingtonePath.ts
T
J Francisco Rader 0ec2b682e7 Messages bugfix again :D (#164)
* Handle offline messages | Fetch messages when broadcasted | Fetch message groups

* Fetch messages on notification click

* Dont fetch groups if duplicate group

* Only submit new message on click submit

* Fix infinite loading when duplicated group is creatded

* Fix infinite loading when group already existed

* Make code prettier

* Centralize fetch messages on goToConversation

* Remove duplicated event

* Improve message groups mapping to include yourself for unreadCount + Fix redirection after adding contact + General improvements

* Remove conflicts

* Fix media paths
2021-03-18 23:01:54 -03:00

4 lines
194 B
TypeScript

export const getRingtonePath = (name?: string) => `media/ringtones/${name || 'pixel'}.ogg`;
export const getNotificationPath = (name?: string) => `media/notifications/${name || 'online'}.ogg`;