Skip to content
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

Hangouts Chat has been rebranded to Google Chat #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Hangouts Chat for Franz
This is the official Franz recipe for Hangouts Chat
# Google Chat for Franz
This is the official Franz recipe for Google Chat

### How to create your own Franz recipes:
* [Read the documentation](https://github.com/meetfranz/plugins)
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 12 additions & 30 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "hangoutschat",
"name": "Hangouts Chat",
"name": "Google Chat",
"version": "1.1.1",
"description": "Hangouts Chat",
"description": "Google Chat",
"main": "index.js",
"author": "Stefan Malzner <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = (Franz) => {
// get unread messages
let directCount = 0;
document.querySelectorAll('.eM5l9e.FVKzAb').forEach((node) => {
// Hangouts Chat overrides the muted indicator when there is a direct mention
// Google Chat overrides the muted indicator when there is a direct mention
if (!node.closest('content[role="listitem"]').querySelector(muteSelector)) {
directCount += 1;
}
Expand Down