From 79bd35964fc6b9db82cd75e5b329d3561da9a505 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 12 Jan 2019 15:54:04 +0200 Subject: [PATCH] Update license year, Dockerfile, docker-run.sh and deps and add editorconfig --- .editorconfig | 12 ++++++++++++ Dockerfile | 16 ++++++---------- commands.go | 2 +- config/bridge.go | 2 +- config/config.go | 2 +- config/registration.go | 2 +- database/database.go | 2 +- database/message.go | 2 +- database/portal.go | 2 +- database/puppet.go | 2 +- database/user.go | 2 +- docker-run.sh | 8 ++++++-- formatting.go | 2 +- go.mod | 15 ++++++--------- go.sum | 24 +++++++++++++----------- main.go | 2 +- matrix.go | 2 +- portal.go | 2 +- puppet.go | 2 +- statestore.go | 2 +- types/types.go | 2 +- user.go | 2 +- whatsapp-ext/chat.go | 2 +- whatsapp-ext/cmd.go | 2 +- whatsapp-ext/conn.go | 2 +- whatsapp-ext/jsonmessage.go | 2 +- whatsapp-ext/msginfo.go | 2 +- whatsapp-ext/presence.go | 2 +- whatsapp-ext/props.go | 2 +- whatsapp-ext/stream.go | 2 +- whatsapp-ext/whatsapp.go | 2 +- 31 files changed, 69 insertions(+), 58 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..21d312a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{yaml,yml}] +indent_style = space diff --git a/Dockerfile b/Dockerfile index aebc0fe..342eb43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,12 @@ FROM golang:1-alpine AS builder -RUN apk add --no-cache git ca-certificates build-base -RUN wget -qO /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -RUN chmod +x /usr/local/bin/dep +RUN apk add --no-cache git ca-certificates build-base su-exec -COPY Gopkg.lock Gopkg.toml /go/src/maunium.net/go/mautrix-whatsapp/ -WORKDIR /go/src/maunium.net/go/mautrix-whatsapp -RUN dep ensure -vendor-only +WORKDIR /build +COPY go.mod go.sum /build/ +RUN go get -COPY . /go/src/maunium.net/go/mautrix-whatsapp +COPY . /build RUN go build -o /usr/bin/mautrix-whatsapp FROM alpine:latest @@ -16,11 +14,9 @@ FROM alpine:latest ENV UID=1337 \ GID=1337 -RUN apk add --no-cache \ - su-exec +RUN apk add --no-cache su-exec ca-certificates COPY --from=builder /usr/bin/mautrix-whatsapp /usr/bin/mautrix-whatsapp -COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs COPY --from=builder /go/src/maunium.net/go/mautrix-whatsapp/example-config.yaml /opt/mautrix-whatsapp/example-config.yaml COPY --from=builder /go/src/maunium.net/go/mautrix-whatsapp/docker-run.sh /docker-run.sh VOLUME /data diff --git a/commands.go b/commands.go index 2be98b2..a0e1817 100644 --- a/commands.go +++ b/commands.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/config/bridge.go b/config/bridge.go index cf2bd4a..f7b3ba2 100644 --- a/config/bridge.go +++ b/config/bridge.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/config/config.go b/config/config.go index 6d62f9c..a2f5022 100644 --- a/config/config.go +++ b/config/config.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/config/registration.go b/config/registration.go index ba0759a..fd79f17 100644 --- a/config/registration.go +++ b/config/registration.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/database/database.go b/database/database.go index 837ffc1..0e4e964 100644 --- a/database/database.go +++ b/database/database.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/database/message.go b/database/message.go index 4becaab..904e8b0 100644 --- a/database/message.go +++ b/database/message.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/database/portal.go b/database/portal.go index c3809ad..ec40fac 100644 --- a/database/portal.go +++ b/database/portal.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/database/puppet.go b/database/puppet.go index 0696e1c..afccdc2 100644 --- a/database/puppet.go +++ b/database/puppet.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/database/user.go b/database/user.go index e606410..f7ccba2 100644 --- a/database/user.go +++ b/database/user.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/docker-run.sh b/docker-run.sh index 67d40a9..dce6894 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -1,11 +1,15 @@ #!/bin/sh +if [[ -z "$GID" ]]; then + GID="$UID" +fi + # Define functions. function fixperms { chown -R $UID:$GID /data /opt/mautrix-whatsapp } -if [ ! -f /data/config.yaml ]; then +if [[ ! -f /data/config.yaml ]]; then cp /opt/mautrix-whatsapp/example-config.yaml /data/config.yaml echo "Didn't find a config file." echo "Copied default config file to /data/config.yaml" @@ -14,7 +18,7 @@ if [ ! -f /data/config.yaml ]; then exit fi -if [ ! -f /data/registration.yaml ]; then +if [[ ! -f /data/registration.yaml ]]; then /usr/bin/mautrix-whatsapp -g -c /data/config.yaml -r /data/registration.yaml echo "Didn't find a registration file." echo "Generated one for you." diff --git a/formatting.go b/formatting.go index 93e3189..b84c9d9 100644 --- a/formatting.go +++ b/formatting.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/go.mod b/go.mod index ad711cc..134b468 100644 --- a/go.mod +++ b/go.mod @@ -3,17 +3,14 @@ module maunium.net/go/mautrix-whatsapp require ( github.com/Rhymen/go-whatsapp v0.0.0-20181218094654-2ca6af00572c github.com/mattn/go-sqlite3 v1.10.0 - github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 // indirect - github.com/skip2/go-qrcode v0.0.0-20171229120447-cf5f9fa2f0d8 + github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect + github.com/skip2/go-qrcode v0.0.0-20190110000554-dc11ecdae0a9 + golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc // indirect golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 // indirect - golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6 // indirect + golang.org/x/sys v0.0.0-20190109145017-48ac38b7c8cb // indirect gopkg.in/yaml.v2 v2.2.2 maunium.net/go/mauflag v1.0.0 maunium.net/go/maulogger/v2 v2.0.0 - maunium.net/go/mautrix v0.1.0-alpha.2 - maunium.net/go/mautrix-appservice v0.1.0-alpha.2 + maunium.net/go/mautrix v0.1.0-alpha.3 + maunium.net/go/mautrix-appservice v0.1.0-alpha.3 ) - -replace maunium.net/go/mautrix-appservice => ../mautrix-appservice-go - -replace maunium.net/go/mautrix => ../mautrix-go diff --git a/go.sum b/go.sum index 12ada65..c4593b3 100644 --- a/go.sum +++ b/go.sum @@ -17,18 +17,20 @@ github.com/mattn/go-sqlite3 v1.10.0 h1:jbhqpg7tQe4SupckyijYiy0mJJ/pRyHvXf7JdWK86 github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 h1:/vdW8Cb7EXrkqWGufVMES1OH2sU9gKVb2n9/1y5NMBY= -github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/skip2/go-qrcode v0.0.0-20171229120447-cf5f9fa2f0d8 h1:5C4yAeYifeRO+7z2/H2kxL8tJZE9ZE9LpxK6YUZPByo= +github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/skip2/go-qrcode v0.0.0-20171229120447-cf5f9fa2f0d8/go.mod h1:PLPIyL7ikehBD1OAjmKKiOEhbvWyHGaNDjquXMcYABo= -golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0= +github.com/skip2/go-qrcode v0.0.0-20190110000554-dc11ecdae0a9 h1:lpEzuenPuO1XNTeikEmvqYFcU37GVLl8SRNblzyvGBE= +github.com/skip2/go-qrcode v0.0.0-20190110000554-dc11ecdae0a9/go.mod h1:PLPIyL7ikehBD1OAjmKKiOEhbvWyHGaNDjquXMcYABo= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3 h1:eH6Eip3UpmR+yM/qI9Ijluzb1bNv/cAU/n+6l8tRSis= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc h1:F5tKCVGp+MUAHhKp5MZtGqAlGX3+oCsiL1Q629FL90M= +golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/net v0.0.0-20190110200230-915654e7eabc h1:Yx9JGxI1SBhVLFjpAkWMaO1TF+xyqtHLjZpvQboJGiM= +golang.org/x/net v0.0.0-20190110200230-915654e7eabc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20181212120007-b05ddf57801d/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190109145017-48ac38b7c8cb/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= @@ -37,7 +39,7 @@ maunium.net/go/mauflag v1.0.0 h1:YiaRc0tEI3toYtJMRIfjP+jklH45uDHtT80nUamyD4M= maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfkPeA= maunium.net/go/maulogger/v2 v2.0.0 h1:8PB95zf6e7Ddw8iOWqjrJjAjPcAI50LagA1X0Ur64os= maunium.net/go/maulogger/v2 v2.0.0/go.mod h1:Hbbkq3NV6jvJodByZu1mgEF3fpT7Kz9z0MjEZ3/BusI= -maunium.net/go/mautrix v0.1.0-alpha.2 h1:NsLc5tyrp5tyrKTvFSmqcLi+FISQ+FsuWC/ycL08PzI= -maunium.net/go/mautrix v0.1.0-alpha.2/go.mod h1:C8akEpHpmmO8gQhLvmInr3HujhUXyKvCoCAzFsxHjGE= -maunium.net/go/mautrix-appservice v0.1.0-alpha.2 h1:DjD51rUN8TevayBmL4lOd0bDOpOuC1LpGIJ1BPJpZZI= -maunium.net/go/mautrix-appservice v0.1.0-alpha.2/go.mod h1:KBMPJMDtUuyDm0qgG851O0mOrm5toYiOftvwzqTGs6k= +maunium.net/go/mautrix v0.1.0-alpha.3 h1:kBz7M63hRetQnAnYK+gVmuSxsmZesX6xERphVgEn324= +maunium.net/go/mautrix v0.1.0-alpha.3/go.mod h1:GTVu6WDHR+98DKOrYetWsXorvUeKQV3jsSWO6ScbuFI= +maunium.net/go/mautrix-appservice v0.1.0-alpha.3 h1:MZozKDJESr1bY9wnnmO+fSusYy5fpkE1kI7v1jXEVog= +maunium.net/go/mautrix-appservice v0.1.0-alpha.3/go.mod h1:wOnWOIuprYad7ly12rHIo3JLCPh4jwvx1prVrAB9RhM= diff --git a/main.go b/main.go index 602b90a..f18cf34 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/matrix.go b/matrix.go index 4b62f51..b4b7673 100644 --- a/matrix.go +++ b/matrix.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/portal.go b/portal.go index fef4cb1..97c0d37 100644 --- a/portal.go +++ b/portal.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/puppet.go b/puppet.go index 5ded58e..cb654f8 100644 --- a/puppet.go +++ b/puppet.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/statestore.go b/statestore.go index 4b67a06..8a546a9 100644 --- a/statestore.go +++ b/statestore.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/types/types.go b/types/types.go index 20ec56e..ab4052e 100644 --- a/types/types.go +++ b/types/types.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/user.go b/user.go index 84f7847..eebf70e 100644 --- a/user.go +++ b/user.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/chat.go b/whatsapp-ext/chat.go index 0bc73ae..b601eb4 100644 --- a/whatsapp-ext/chat.go +++ b/whatsapp-ext/chat.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/cmd.go b/whatsapp-ext/cmd.go index f5ced27..ac34d45 100644 --- a/whatsapp-ext/cmd.go +++ b/whatsapp-ext/cmd.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/conn.go b/whatsapp-ext/conn.go index 6cb3220..9f72251 100644 --- a/whatsapp-ext/conn.go +++ b/whatsapp-ext/conn.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/jsonmessage.go b/whatsapp-ext/jsonmessage.go index 8a7fd44..1174844 100644 --- a/whatsapp-ext/jsonmessage.go +++ b/whatsapp-ext/jsonmessage.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/msginfo.go b/whatsapp-ext/msginfo.go index 11eabe9..2366e3f 100644 --- a/whatsapp-ext/msginfo.go +++ b/whatsapp-ext/msginfo.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/presence.go b/whatsapp-ext/presence.go index c1b081b..c70f4e6 100644 --- a/whatsapp-ext/presence.go +++ b/whatsapp-ext/presence.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/props.go b/whatsapp-ext/props.go index 4573606..8f5dbbd 100644 --- a/whatsapp-ext/props.go +++ b/whatsapp-ext/props.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/stream.go b/whatsapp-ext/stream.go index dcced66..85dbbd7 100644 --- a/whatsapp-ext/stream.go +++ b/whatsapp-ext/stream.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/whatsapp-ext/whatsapp.go b/whatsapp-ext/whatsapp.go index 9f38345..5e041ea 100644 --- a/whatsapp-ext/whatsapp.go +++ b/whatsapp-ext/whatsapp.go @@ -1,5 +1,5 @@ // mautrix-whatsapp - A Matrix-WhatsApp puppeting bridge. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by