Chat rooms

This commit is contained in:
Paul Schneider 2019-05-10 09:58:09 +01:00
commit 6ad9b82174
23 changed files with 3641 additions and 341 deletions

View file

@ -104,7 +104,7 @@ namespace Yavsc.Controllers
{
var regids = command.PerformerProfile.Performer
.DeviceDeclarations.Select(d => d.DeviceId);
grep = await _GCMSender.NotifyAsync(regids, yaev);
grep = await _MessageSender.NotifyAsync(regids, yaev);
}
// TODO setup a profile choice to allow notifications
// both on mailbox and mobile
@ -271,7 +271,7 @@ namespace Yavsc.Controllers
if (pro.Performer.DeviceDeclarations.Count > 0)
{
var regids = pro.Performer.DeviceDeclarations.Select(d => d.DeviceId);
grep = await _GCMSender.NotifyHairCutQueryAsync(regids, yaev);
grep = await _MessageSender.NotifyHairCutQueryAsync(regids, yaev);
}
// TODO setup a profile choice to allow notifications
// both on mailbox and mobile
@ -431,7 +431,7 @@ namespace Yavsc.Controllers
{
var regids = command.PerformerProfile.Performer
.DeviceDeclarations.Select(d => d.DeviceId);
grep = await _GCMSender.NotifyHairCutQueryAsync(regids, yaev);
grep = await _MessageSender.NotifyHairCutQueryAsync(regids, yaev);
}
// TODO setup a profile choice to allow notifications
// both on mailbox and mobile, and to allow calendar event insertion.