Skip to content

Commit

Permalink
Merge pull request #5 from nate-anderson/short-notifications
Browse files Browse the repository at this point in the history
Reformatted notifications so messages are easier to read in GNOME not…

Merge it into 0.1.7 branch in preparation of the release.
  • Loading branch information
IsmaelMartinez authored Oct 28, 2018
2 parents 873d69c + 9671563 commit 1540b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ app.on('ready', () => {

ipcMain.on('notifications', async (e, msg) => {
if (msg.count > 0) {
const body = "You got " + msg.count + " notification(s). " + ((msg.text) ? " <i>" + msg.text + "</i> " : "");
const body = "(" + msg.count + "): " + ((msg.text) ? "" + msg.text : "");
const notification = new NativeNotification(
"Microsoft Teams",
{
Expand Down

0 comments on commit 1540b77

Please sign in to comment.