Include topup link
This commit is contained in:
@ -82,7 +82,8 @@ public class NostrStreamManager : IStreamManager
|
|||||||
if (_context.User.Balance >= balanceAlertThreshold && _context.User.Balance - cost < balanceAlertThreshold)
|
if (_context.User.Balance >= balanceAlertThreshold && _context.User.Balance - cost < balanceAlertThreshold)
|
||||||
{
|
{
|
||||||
var chat = _eventBuilder.CreateStreamChat(_context.UserStream,
|
var chat = _eventBuilder.CreateStreamChat(_context.UserStream,
|
||||||
$"Your balance is below {(int)(balanceAlertThreshold / 1000m)} sats, please topup");
|
$"Your balance is below {(int)(balanceAlertThreshold / 1000m)} sats, please topup, " +
|
||||||
|
$"or use this link: lnurlp://zap.stream/.well-known/lnurlp/${_context.User.PubKey}");
|
||||||
|
|
||||||
_eventBuilder.BroadcastEvent(chat);
|
_eventBuilder.BroadcastEvent(chat);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user