Port Autodownload / Image Previews / Profile Image Experiment to Cwtch #501

Merged
sarah merged 6 commits from autodownload into master 2023-03-13 20:04:37 +00:00
1 changed files with 0 additions and 4 deletions
Showing only changes of commit de32ae240a - Show all commits

View File

@ -120,9 +120,6 @@ func TestFileSharing(t *testing.T) {
alice.AutoHandleEvents([]event.Type{event.PeerStateChange, event.NewRetValMessageFromPeer})
bob.AutoHandleEvents([]event.Type{event.PeerStateChange, event.NewRetValMessageFromPeer})
queueOracle := event.NewQueue()
app.GetEventBus(bob.GetOnion()).Subscribe(event.FileDownloaded, queueOracle)
// Turn on File Sharing Experiment...
settings := app.ReadSettings()
settings.ExperimentsEnabled = true
@ -171,7 +168,6 @@ func TestFileSharing(t *testing.T) {
t.Fatalf("cwthc.png should have been automatically downloadeded...")
}
queueOracle.Shutdown()
app.Shutdown()
acn.Close()
time.Sleep(10 * time.Second)