mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Update changelog
This commit is contained in:
parent
a32afbda79
commit
55ebd2afa1
11
CHANGELOG.md
11
CHANGELOG.md
@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 0.2.21
|
||||
|
||||
- [x] Fix AUTH support
|
||||
- [x] Add note quotes
|
||||
- [x] Add support for bech32 entity rendering and parsing
|
||||
- [x] Show all images/links in modal dialog
|
||||
- [x] Fix newline handling in note composition
|
||||
- [x] Render links in person.about content
|
||||
- [x] Fix person detail relays list
|
||||
- [x] Show username when creating a note
|
||||
|
||||
## 0.2.20
|
||||
|
||||
- [x] Re-write pool to use paravel
|
||||
|
@ -79,8 +79,6 @@ const createReply = (note, content, mentions = [], topics = []) => {
|
||||
]
|
||||
)
|
||||
|
||||
console.log(tags)
|
||||
|
||||
return new PublishableEvent(1, {content, tags})
|
||||
}
|
||||
|
||||
|
@ -162,8 +162,10 @@ function getExecutor(urls) {
|
||||
let target
|
||||
|
||||
// Try to use our multiplexer, but if it fails to connect fall back to relays. If
|
||||
// we're only connecting to a single relay, just do it directly
|
||||
if (Config.multiplextrUrl && urls.length > 1) {
|
||||
// we're only connecting to a single relay, just do it directly, unless we already
|
||||
// have a connection to the multiplexer open, in which case we're probably doing
|
||||
// AUTH with a single relay.
|
||||
if (Config.multiplextrUrl && (urls.length > 1 || pool.has(Config.multiplextrUrl))) {
|
||||
const socket = pool.get(Config.multiplextrUrl)
|
||||
|
||||
if (!socket.error) {
|
||||
@ -277,7 +279,7 @@ async function subscribe({relays, filter, onEvent, onEose}: SubscribeOpts) {
|
||||
|
||||
Meta.onSubscriptionStart(urls)
|
||||
|
||||
const sub = executor.subscribe(filters, {
|
||||
executor.subscribe(filters, {
|
||||
onEvent: (url, e) => {
|
||||
if (seen.has(e.id)) {
|
||||
return
|
||||
@ -309,7 +311,6 @@ async function subscribe({relays, filter, onEvent, onEose}: SubscribeOpts) {
|
||||
unsub: () => {
|
||||
log(`Closing subscription`, filters)
|
||||
|
||||
sub.unsubscribe()
|
||||
executor.target.cleanup()
|
||||
|
||||
Meta.onSubscriptionEnd(urls)
|
||||
|
Loading…
Reference in New Issue
Block a user