Comments (7)
with these changes im able to login through pantalaimon but I still am not able to decrypt messages, will need further digging sadly (I know these are extremely hacky, but you at least know what needs fixing, I'm not able to do it on my own sadly)
@@ -67,14 +67,14 @@
(path (format "/_matrix/%s/r0/%s" endpoint-category endpoint))
(query (url-build-query-string params))
(filename (concat path "?" query))
- (url (url-recreate-url
- (url-parse-make-urlobj type nil nil host port filename nil data t)))
+ (url (concat "localhost:8080" filename))
(headers (ement-alist "Content-Type" content-type
"Authorization" (concat "Bearer " token))))
;; Omit `then' from debugging because if it's a partially applied
;; function on the session object, which may be very large, it
;; will take a very long time to print into the warnings buffer.
;; (ement-debug (current-time) method url headers)
+ (message "%s : %s : %s : %s" host port data uri-prefix)
(plz method url :headers headers :body data :body-type data-type
:as json-read-fn :then then :else else
;; FIXME: Timeout is not necessarily the same as connect-timeout, or shouldn't be.
modified ement.el
@@ -271,7 +271,7 @@ If no URI is found, prompt the user for the hostname."
;; Parsing error: FAIL_PROMPT.
(fail-prompt))))
(let ((response (condition-case err
- (plz-get-sync (concat "https://" hostname "/.well-known/matrix/client")
+ (plz-get-sync (concat "http://" hostname "/.well-known/matrix/client")
:as 'response)
(plz-http-error (plz-error-response (cdr err))))))
(pcase (plz-response-status response)
from ement.el.
Hi, thanks for the kind words, I'm glad you like it.
Some work to this regard has been done already. Please see the branch https://github.com/alphapapa/ement.el/tree/wip/port-tls. If you can help me test it, that would be great; I don't use Pantalaimon myself.
from ement.el.
Forgot to mention that I need to rebase that branch. I'll do that soon.
from ement.el.
ill test afterwards, but for today im leaving, cya
from ement.el.
also as for pantalaimon, i think its due to ement not doing anything with verify requests, because new messages show up fine, though i cant send messages either. It's bizarre through and through 🤷♂️
from ement.el.
My understanding is that Pantalaimon is supposed to be a transparent proxy, so clients aren't supposed to need to know about verification, etc. But I haven't used it myself, so maybe I'm wrong. I'll be glad to help support it if I can, but I'll need help from users like you. :)
from ement.el.
Please let me know if that works for you. (Specifying the server's URI prefix doesn't work interactively at the moment, so you'll have to eval (ement-connect ...)
. If needed, we can figure out a way to do it interactively, as well.)
from ement.el.
Related Issues (20)
- User-specified percentage image scaling HOT 3
- Blank lines not displayed in message reply HOT 3
- Replacement events are inserted into the room based on the replacement timestamp rather the original event's? HOT 1
- Room list visibility cache includes event data HOT 2
- Avoid `ement-room-list-auto-update' repeatedly rebuilding the buffer if it is not being disaplayed HOT 2
- Jumping to an edited message from the notifications buffer doesn't work
- Lisp error signing into Beeper/Matrix via Pantalaimon HOT 7
- Gentoo: Symbol’s function definition is void: libxml-parse-html-region HOT 3
- [FEATURE] add "Discord" format to ement-room-message-format-spec HOT 1
- ement-directory-search signals error when no rooms found HOT 2
- @usernames aren't linked at the beginnings of lines, except for the first line HOT 1
- Consider swapping the M-RET and S-<return> bindings HOT 7
- Compilation error on Emacs 27 HOT 1
- `ement-send-reaction` + `emoji-search` signals wrong-number-of-arguments error [Emacs 30] HOT 7
- Restore the ability for an active region to determine the quoted text in a reply HOT 1
- Edition of messages breaks reactions HOT 1
- Eager macro-expansion failure: (error "Unknown cl-type pattern: (cl-type ement-room)") HOT 3
- Bizarre curl network errors (26: read error; 9: FTP access denied) HOT 8
- Provide a way to influence highlighting decisions in rooms HOT 22
- RFE: Toggle membership events on/off (per channel, ideally) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ement.el.